<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
		<title>后台管理-管理登录</title>
		<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	background-color: #016aa9;
	overflow: hidden;
}

form {
	margin: 0px;
}

.STYLE1 {
	color: #000000;
	font-size: 12px;
}
-->
</style>
	</head>
	<script language="javascript">
	function checkUser() {
		if (document.loginForm.loginName.value == "") {
			alert("请填写用户名！");
		} else if (document.loginForm.loginPasswd.value == "") {
			alert("请填写密码！");
		} else {
			document.loginForm.submit();
		}
	}
	var errorInfo = "${errors}";
	if(errorInfo!=""){
		alert(errorInfo);
	}
      document.onkeydown=function(event){
            var e = event || window.event || arguments.callee.caller.arguments[0];      
            if(e && e.keyCode==13){ // enter
                 checkUser();
            }
        }; 
</script>
	<body>
		<table width="100%" height="100%" border="0" cellpadding="0"
			cellspacing="0">
			<tr>
				<td>
					<table width="962" border="0" align="center" cellpadding="0"
						cellspacing="0">
						<tr>
							<td height="235" background="images/login_03.gif">
								&nbsp;
							</td>
						</tr>
						<tr>
							<td height="53">
								<form action="login.action" name="loginForm" method="post">
									<table width="100%" border="0" cellspacing="0" cellpadding="0">
										<tr>
											<td width="394" height="53" background="images/login_05.gif">
												&nbsp;
											</td>
											<td width="206" background="images/login_06.gif">
												<table width="100%" border="0" cellspacing="0"
													cellpadding="0">
													<tr>
														<td width="16%" height="25">
															<div align="right">
																<span class="STYLE1">用户</span>
															</div>
														</td>
														<td width="57%" height="25">
															<div align="center">
																<input type="text" name="loginName"
																	style="width: 105px; height: 17px; background-color: #292929; border: solid 1px #7dbad7; font-size: 12px; color: #6cd0ff">
															</div>
														</td>
														<td width="27%" height="25">
															&nbsp;
														</td>
													</tr>
													<tr>
														<td height="25">
															<div align="right">
																<span class="STYLE1">密码</span>
															</div>
														</td>
														<td height="25">
															<div align="center">
																<input type="password" name="loginPasswd"
																	style="width: 105px; height: 17px; background-color: #292929; border: solid 1px #7dbad7; font-size: 12px; color: #6cd0ff">
															</div>
														</td>
														<td height="25">
															<div align="left">
																<a href="javascript:checkUser();"><img
																		src="images/dl.gif" width="49" height="18" border="0">
																</a>
															</div>
														</td>
													</tr>
												</table>
											</td>
											<td width="362" background="images/login_07.gif">
												&nbsp;
											</td>
										</tr>
									</table>
								</form>
							</td>
						</tr>
						<tr>
							<td height="213" background="images/login_08.gif">
								&nbsp;
							</td>
						</tr>
					</table>
				</td>
			</tr>
		</table>
	</body>
</html>
